#include <iostream>
#include <cassert>
#include <cstdio>

using namespace std;
bool littleEndian() {
	assert(sizeof(char) < sizeof(int));
	int i = 0x01;
	char lsb = *(reinterpret_cast<char*>(&i));
	return lsb;
}

int main() {
	cout << "this system is " << (littleEndian() ? "little" : "big") << " endian\n";
	int  a = 1;
	--a ? a : a = -99;
	int b = 2;
	--b ? b : b = -99;
	
	cout << a << " " << b << endl;

	
}
